package com.dave.gd.core.rule;

import java.util.List;

/**
 * @Class: IRuleableEntity
 * @see com.ctg.itrdc.core.rule.IRuleableEntity
 */
public interface IRuleableEntity {
    
    RuleResult getRuleResultByCode(String ruleCode);
    
    void addRuleResult(RuleResult result);
    
    void removeRuleResult(RuleResult result);
    
    void replaceRuleResult(RuleResult result);
    
    List<RuleResult> getRuleResults();
    
    void clearRuleResult();
    
    boolean hasRuleResult();
    
    List<RuleResult> getWarnResults();
}
